home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / Basic / Visual Basic.60 / COMMON / TOOLS / VCM / VCM.MDB / VcmComponentContainer / 23_Cabinet / IMAGE.ODL < prev    next >
Encoding:
Microsoft Object Description Language  |  1998-05-18  |  1.9 KB  |  71 lines

  1. // image.odl : type library source for OLE Control project.
  2.  
  3. // This file will be processed by the Make Type Library (mktyplib) tool to
  4. // produce the type library (image.tlb) that will become a resource in
  5. // image.ocx.
  6.  
  7. #include <olectl.h>
  8. #include <idispids.h>
  9.  
  10. [ uuid(346685E0-C383-11CF-A5A4-00AA00A45705), version(1.0),
  11.   helpstring("image OLE Control module"), control ]
  12. library IMAGELib
  13. {
  14.     importlib(STDOLE_TLB);
  15.     importlib(STDTYPE_TLB);
  16.  
  17.     //  Primary dispatch interface for CImageCtrl
  18.  
  19.     [ uuid(346685E1-C383-11CF-A5A4-00AA00A45705),
  20.       helpstring("Dispatch interface for Image Control"), hidden ]
  21.     dispinterface _DImage
  22.     {
  23.         properties:
  24.             // NOTE - ClassWizard will maintain property information here.
  25.             //    Use extreme caution when editing this section.
  26.             //{{AFX_ODL_PROP(CImageCtrl)
  27.             [id(DISPID_READYSTATE), readonly] long ReadyState;
  28.             [id(1)] boolean AutoSize;
  29.             [id(2)] BSTR ImagePath;
  30.             //}}AFX_ODL_PROP
  31.  
  32.         methods:
  33.             // NOTE - ClassWizard will maintain method information here.
  34.             //    Use extreme caution when editing this section.
  35.             //{{AFX_ODL_METHOD(CImageCtrl)
  36.             //}}AFX_ODL_METHOD
  37.  
  38.             [id(DISPID_ABOUTBOX)] void AboutBox();
  39.     };
  40.  
  41.     //  Event dispatch interface for CImageCtrl
  42.  
  43.     [ uuid(346685E2-C383-11CF-A5A4-00AA00A45705),
  44.       helpstring("Event interface for Image Control") ]
  45.     dispinterface _DImageEvents
  46.     {
  47.         properties:
  48.             //  Event interface has no properties
  49.  
  50.         methods:
  51.             // NOTE - ClassWizard will maintain event information here.
  52.             //    Use extreme caution when editing this section.
  53.             //{{AFX_ODL_EVENT(CImageCtrl)
  54.             [id(DISPID_READYSTATECHANGE)] void ReadyStateChange();
  55.             //}}AFX_ODL_EVENT
  56.     };
  57.  
  58.     //  Class information for CImageCtrl
  59.  
  60.     [ uuid(346685E3-C383-11CF-A5A4-00AA00A45705),
  61.       helpstring("Image Control"), control ]
  62.     coclass Image
  63.     {
  64.         [default] dispinterface _DImage;
  65.         [default, source] dispinterface _DImageEvents;
  66.     };
  67.  
  68.  
  69.     //{{AFX_APPEND_ODL}}
  70. };
  71.